/**
 * 
 */
package org.hospital.dao;

import java.util.List;

import org.hospital.pojo.TUser;

/**
 * @author HuangKai
 *
 */
public interface IUserDAO {
	public void save(TUser transientInstance);
	public void delete(TUser persistentInstance);
	public List findByExample(TUser instance);
	public List findByProperty(String propertyName, Object value);
	public List findByUsername(Object username);
	public List findByPassword(Object password);
	public List findAll();
	public TUser merge(TUser detachedInstance);
	public void attachDirty(TUser instance);
	public void attachClean(TUser instance);
}
